<!-- 共用编辑/价格 开始 -->
                                        {if in_array('price',$isdisplay_array) and $tabledir eq 'product'}
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">{:lang('v_sale_price')}</div>
                                                <div class="col-md-3">
                                                    <input type="text" class="form-control" name="price" id="price" onblur="javascript:check_val('price',this.value,$('#price'),0,'{:lang('v_do_tips')}','{:lang('v_sale_price')} {:lang('g_illegal')}');" value="{empty name="rs.price"}0.00{else /}{$rs.price}{/empty}" />
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">{:lang('v_cost_price')}</div>
                                                <div class="col-md-3">
                                                    <input type="text" class="form-control" name="costprice" id="costprice" onblur="javascript:check_val('price',this.value,$('#costprice'),0,'{:lang('v_do_tips')}','{:lang('v_cost_price')} {:lang('g_illegal')}');" value="{empty name="rs.costprice"}0.00{else /}{$rs.costprice}{/empty}" />
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">{:lang('v_market_price')}</div>
                                                <div class="col-md-3">
                                                    <input type="text" class="form-control" name="marketprice" id="marketprice" onblur="javascript:check_val('price',this.value,$('#marketprice'),0,'{:lang('v_do_tips')}','{:lang('v_market_price')} {:lang('g_illegal')}');" value="{empty name="rs.marketprice"}0.00{else /}{$rs.marketprice}{/empty}" />
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">{:lang('v_stock')}</div>
                                                <div class="col-md-3">
                                                    <input type="text" class="form-control" name="stock" id="stock" onblur="javascript:check_val('int',this.value,$('#stock'),1000000,'{:lang('v_do_tips')}','{:lang('v_stock')} {:lang('g_illegal')}');" value="{empty name="rs.id"}{$stock}{else /}{$rs.stock}{/empty}" />
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">{:lang('v_stock_unit')}</div>
                                                <div class="col-md-3">
                                                    <select name="stockunit" class="form-control">
                                                        {foreach $stockunit_arr as $unit}
                                                            <option value="{$unit}" {if $rs.stockunit eq $unit}selected="selected"{/if}>{$unit}</option>
                                                        {/foreach}
                                                    </select>
                                                </div>
                                            </div>
                                        {/if}
                                        {if in_array($tabledir,array('down','video')) and config('app.other.system_type') eq 'cms'}
                                            {if in_array($tabledir,array('down'))}
                                                <div class="row form-group">
                                                    <div class="col-md-3 col-form-label text-right">{:lang('g_system')} {:lang('v_version')}</div>
                                                    <div class="col-md-3">
                                                        <input type="text" class="form-control" name="system_version" value="{$rs.system_version}" />
                                                    </div>
                                                </div>
                                                <div class="row form-group is_dec {empty name="rs.pay_method"}hidden{/empty}">
                                                    <div class="col-md-3 text-right">用户余额或积分支付：</div>
                                                    <div class="col-md-3">
                                                        <label class="form-check form-check-inline">
                                                            <input type="radio" name="is_dec" value="0"{empty name="rs.is_dec"} checked="checked"{/empty} class="form-check-input" /> 扣除
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input type="radio" name="is_dec" value="1"{eq name="rs.is_dec" value="1"} checked="checked"{/eq} class="form-check-input" /> 不扣除
                                                        </label>
                                                    </div>
                                                </div>
                                            {/if}
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_payment')} {:lang('v_method')}：</div>
                                                <div class="col-md-3">
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="pay_method" value="0"{empty name="rs.pay_method"} checked="checked"{/empty} class="form-check-input" /> {:lang('v_anyone_down')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="pay_method" value="1"{eq name="rs.pay_method" value="1"} checked="checked"{/eq} class="form-check-input" /> {:lang('shopv_money')} {:lang('v_payment')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="pay_method" value="2"{eq name="rs.pay_method" value="2"} checked="checked"{/eq} class="form-check-input" /> {:lang('shopv_score')} {:lang('v_payment')}
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row form-group score {neq name="rs.pay_method" value="2"}hidden{/neq}">
                                                <div class="col-md-3 col-form-label text-right">{:lang('shopv_score')}</div>
                                                <div class="col-md-3">
                                                    <div class="input-group">
                                                        <input value="{empty name="rs.id"}0{else /}{$rs.score}{/empty}" name="score" type="number" class="form-control" onBlur="javascript:vad_int(this.value,'#score_tips');" />
                                                        <span class="input-group-append">
                                                            <button type="button" class="btn btn-default">{:lang('shopv_score')}</button>
                                                        </span>
                                                    </div>
                                                </div>
                                            </div>
                                        {/if}
<!-- 共用编辑/价格 结束 -->